#ifndef __DebugState_SCENE_H__
#define __DebugState_SCENE_H__

#include "cocos2d.h"
#include "CocosGUI.h"
#include "../System/Character.h"

class DebugState : public cocos2d::CCLayer
{
public:
	DebugState();

    // Method 'init' in cocos2d-x returns bool, instead of 'id' in cocos2d-iphone (an object pointer)
    virtual bool init();
    
    // there's no 'id' in cpp, so we recommend to return the class instance pointer
    static cocos2d::CCScene* scene();
    
    // a selector callback    
	void menuTestBone(CCObject* pSender);
	void menuTestAction(CCObject* pSender);
	void menuGoBack(CCObject* pSender);
	void menuUIKey(CCObject* pSender);

	void updateGame (float deltaTime);

    // preprocessor macro for "static create()" constructor ( node() deprecated )
    CREATE_FUNC(DebugState);      

private: 
	Character* pHuman;
};

#endif // __DebugState_SCENE_H__
